﻿<BaseUI:UserControlBase
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:BaseUI="clr-namespace:Silverlight.Weblog.Client.Default.Widgets.BaseUI"
	mc:Ignorable="d"
	xmlns:SampleData="clr-namespace:Expression.Blend.SampleData.SampleDataSource"
	xmlns:Commands="clr-namespace:Microsoft.Practices.Composite.Presentation.Commands;assembly=Microsoft.Practices.Composite.Presentation"
	x:Class="Silverlight.Weblog.Client.Default.Widgets.HeadlineWidget"
	d:DesignWidth="640" d:DesignHeight="65">

	<BaseUI:UserControlBase.Resources>
		<SampleData:SampleDataSource x:Key="SampleDataSource" d:IsDataSource="True"/>
	</BaseUI:UserControlBase.Resources>

	<Grid x:Name="LayoutRoot" Background="White" d:DataContext="{Binding Source={StaticResource SampleDataSource}}">
		<Image  Source="header.jpg" Stretch="None" VerticalAlignment="Top" HorizontalAlignment="Right"/>
		<TextBlock HorizontalAlignment="Left" Margin="13,0,0,1" VerticalAlignment="Bottom" Text="{Binding BlogSubtitle}" TextWrapping="Wrap" FontSize="18.667" FontWeight="Bold"/>
		<HyperlinkButton HorizontalAlignment="Left" Margin="9,3,0,0" VerticalAlignment="Top" Content="{Binding BlogName}" FontSize="32" FontWeight="Bold" Foreground="#FF006BAD" FontFamily="Georgia" 
                         Commands:Click.Command="{Binding HomeCommand}"/>
	</Grid>
</BaseUI:UserControlBase>